// 反例

const arr = ['1', '2', '3'];
let idx: any = 1;
export const v3 = arr[idx];
export const v4 = arr[idx++];

function foo(x: string[], y: any) {
  x[y];
}

